<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>My Account</title>
	<link href="../styles/style.css" rel="stylesheet" type="text/css" /> 
    <link rel="icon" type="image/png" href="../images/dpicon.png" />
</head>

<body>

<%
	Integer cartItemCount = session.getAttribute("cartItemCount") != null 
							? (Integer)session.getAttribute("cartItemCount") : 0;
%>

<div id="page-wrap">
	<div id="profile-menu">
		<ul class="profile-menu-list">			
			<li><a href="#" title="user">${customer.screenName}</a></li>						
			<li><a href="controller.AccountInformation" title="my account">my account</a></li>
			<li><a href="controller.Logout">logout</a></li>	
		</ul>
	</div><br/>
		
	<div id="main-menu">
		<!--<img src="devilpepperLogo.jpg" alt="devilpepper logo"/>-->
		<ul>
			<li><a href="controller.BookSearchForm" title="search">search</a></li>
			<li><a href="controller.SellBooksForm" title="sell books">sell books</a></li>
			<li><a href="controller.AboutForm" title="about">about</a></li>
			<li><a href="controller.ContactUsForm" title="contact us">contact us</a></li>
			<li class="cart"><a href="controller.CartForm" title="cart">cart&nbsp;&nbsp;<strong><%=cartItemCount%></strong></a></li>				
		</ul>		
	</div><br/>	
	
	<div id="account" >                	
       	<h1>Account Information:</h1>
       	<p>Detailed account information of customer</p>       	
		<div class="account-box1">
			<ul>				
				<li>First name:</li>
				<li>Last name:</li>
				<li>Screen name:</li>
				<li>Email:</li>
				<li>Street:</li>
				<li>City:</li>
				<li>State:</li>
				<li>ZipCode:</li>	
			</ul>				
		</div>	
		<div class="account-box2">
			<ul>				
				<li>${customer.firstName}</li>
				<li>${customer.lastName}</li>
				<li>${customer.screenName}</li>
				<li>${customer.emailAdd}</li>
				<li>${customer.street}</li>
				<li>${customer.city}</li>
				<li>${customer.state}</li>
				<li>${customer.zipCode}</li> 
			</ul>
		</div>		
	</div>
	<div id="account">
		<h1>Finance Information:</h1>
		<p>Detailed finance information of customer</p>
		<div class="account-box1">
			<ul>
				<li>Credit Card#:</li>
				<li>Balance:</li>
				<li>PayPal Email:</li>
				<li>Balance:</li>
			</ul>
		</div>
		<div class="account-box2">
			<ul>
				<li>${financeAccount.creditCardNumber}</li>
				<li>${financeAccount.creditCardBalance}</li>
				<li>${financeAccount.paypalEmailAddress}</li>
				<li>${financeAccount.paypalBalance}</li>
			</ul>
		</div>
	</div> 	
</div>
<div class="footer_container">
	&copy;2011 All Rights Reserved
	<a href="mailto:devilpepper@hotmail.com">Devilpepper</a>
</div>

</body>
</html>
